Skip to main content

scaleIndependently

Type​

property

Summary​

Specifies whether an EPS object's vertical and horizontal dimensions are sized independently or proportionally.

Syntax​

set the scaleIndependently of <EPSObject> to {true | false}

Description​

Use the scaleIndependently property to control the screen appearance of an EPS object.

If the scaleIndependently is true, the PostScript image is scaled vertically to fit the full height of the EPS object and horizontally to fit the full width, even if this causes the image to be distorted.

If the scaleIndependently is false, the PostScript image is scaled proportionally to fit at least one dimension, even if the other dimension does not completely fill the EPS object's rectangle.

This property is supported only on Unix systems with Display PostScript installed.

Examples​

set the scaleIndependently of EPS 2 to false

Value​

NameTypeDescription

value

bool

The scaleIndependently of an EPS object is true or false.

glossary: EPS, property, object

object: EPS

property: postScript, yExtent, yScale, xExtent, xScale, scale, boundingBox

Compatibility and Support​

Introduced

LiveCode 1.0

OS

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?